package com.hngs.exception;
//统一异常处理  是在运行时发生得
public class BizException extends RuntimeException{

    private  int code;
    public BizException(int code,String msg){
        super(msg);
        this.code=code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
